package com.lc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lc.pojo.UmsReceiverAddress;
import com.lc.pojo.dto.UmsReceiverAddressDto;
import com.lc.pojo.param.SaveOrUpdateParam;

import java.util.List;

public interface UmsReceiverAddressService extends IService<UmsReceiverAddress> {


    //添加、修改收货地址
    Boolean saveOrUpdateURA(SaveOrUpdateParam saveOrUpdateParam);

    //删除收货地址
    Boolean removeURA(Integer addressId);

    //查看收货地址
    List<UmsReceiverAddressDto> getList(Integer userId);

    //设置默认收货地址
    Boolean updateDefault(Integer addressId);

}
